﻿using System.Configuration;
using System.Data.SqlClient;

/// <summary>
/// Summary description for DBConnectionBO
/// </summary>
public class DBConnectionBO
{
    public static SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["defaultConnection"].ConnectionString);

	public DBConnectionBO()
	{
		connection.Open();
	}

    public void CloseConnection()
    {
        connection.Close();
    }
}